package com.zking.service;

import com.zking.dao.domain.DateAndDoctor;
import com.zking.dao.domain.Department;
import com.zking.dao.domain.Doc_schedule;
import com.zking.dao.domain.Doctor;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface DoctorService {
    List<Doctor> queryDoctors();
    int deleteDoctor(int id);
    int insertDoctor(Doctor doctor);
    int updateDoctor(Doctor doctor);
    Doctor queryDoctor(int id);
    List<Department> queryDepartments();
    String upload(MultipartFile file,String filePath);

    //查询某科室的所有医生
    List<Doctor> department_doctor(int deptid);
    //加入值班
    boolean updateSchedule(List<DateAndDoctor> dateAndDoctors,int dept_id,String update_time);
    //获取之后八天的数据
    List<Doc_schedule> query_Schedules(int dept_id);

}
